package org.god.batis.core;

/**
 * @Author 海晨忆
 * @Des 一个sql mapper标签中的所有信息
 * @Date 2025/6/16 14:54
 */
public class MappedStatement {
    private String sql;
    private String resultType;

    public MappedStatement() {
    }

    public MappedStatement(String sql, String resultType) {
        this.sql = sql;
        this.resultType = resultType;
    }

    public String getSql() {
        return sql;
    }

    public void setSql(String sql) {
        this.sql = sql;
    }

    public String getResultType() {
        return resultType;
    }

    public void setResultType(String resultType) {
        this.resultType = resultType;
    }

    @Override
    public String toString() {
        return "MappedStatement{" + "sql='" + sql + '\'' + ", resultType='" + resultType + '\'' + '}';
    }
}
